﻿using B.S.Material.Domain.BOM;

namespace B.S.Material.Wirth.Api.Dto
{
    public class MaterialsChildDto
    {

        public int BOMID { get; set; }
        /// <summary>
        /// 物料清单主题
        /// </summary>
        public string BOMSubject { get; set; }
        /// <summary>
        /// 物料清单编号
        /// </summary>
        public string DocumentNo { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        ///规格型号
        /// </summary>
        public string SpecificationModel { get; set; }

        /// <summary>
        ///单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 产品角色
        /// </summary>
        public string ProductRole { get; set; }
        /// <summary>
        ///工艺流程
        /// </summary>
        public string ProcessFlow { get; set; }
        /// <summary>
        /// 耗损率(%)
        /// </summary>
        public Decimal LossRate { get; set; }
        /// <summary>
        /// 保存时间
        /// </summary>
        public DateTime CreationTime { get; set; }

        public List<MaterialsChild> ChildID { get; set; } = new List<MaterialsChild>();

        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
